﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Comm
{
    /// <summary>
    /// 购物车中的项
    /// </summary>
    public class BuyItem
    {
        private string _ID;
        private string _ProductID;
        private int _BuyNum;
        private DateTime _AddTime;
        private int _BuyType=0;

        /// <summary>
        /// 主键
        /// </summary>
        public string ID
        {
            set { _ID = value; }
            get { return _ID; }
        }

        /// <summary>
        /// 产品ID
        /// </summary>
        public string ProductID
        {
            set { _ProductID = value; }
            get { return _ProductID; }
        }

        /// <summary>
        /// 购买数量
        /// </summary>
        public int BuyNum
        {
            set { _BuyNum = value; }
            get { return _BuyNum; }
        }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime
        {
            set { _AddTime = value; }
            get { return _AddTime; }
        }
        /// <summary>
        /// 购买数量
        /// </summary>
        public int BuyType
        {
            set { _BuyType = value; }
            get { return _BuyType; }
        }
    }
}
